home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_400
/
422_02
/
misc
/
fortune.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-03-20
|
11KB
|
218 lines
/*
* A "fortune" cookie, every time you run it you get a different "quote".
*
* Copyright 1985-1994 Dave Dunfield
* All rights reserved.
*
* Compile command: cc fortune -fop
*/
#include <stdio.h>
static char *msgs[] = {
"He who has imagination without learning has wings but no feet",
"Everyone needs to believe in something; I believe I'll have another beer",
"God helps those who help themselves.",
"Every absurdity has a champion to defend it",
"Flee at once, all is discovered",
"Everyone is enthuastic about your work",
"Do not underestimate the power of FORCE",
"Don't tell me what you dreamt last nite for I've been reading Freud",
"Death: To suddenly stop sinning",
"Do not merely believe in miracles; rely on them",
"retupmoc eht edisni deppart ma I - PLEH",
"A stitch in time saves nine",
"The programmers cheer:\nShift it to the left...\nShift it to the right...\nPOP up PUSH down...\nBYTE BYTE .. BYTE!!!",
"On a clear disk you can seek forever...",
"Beam me up Scottie.... There in no intelligent life down here!",
"Don't be humble... You're not that great",
"Be security conscious -- National defence is at stake!",
"A good memory does not equal pale ink",
"Age and treachery will always overcome youth and skill",
"Your buisness will go though a period of considerable expansion",
"A king's castle is his home",
"A hermit is a deserter from the army of humanity",
"You will be hungry within the hour",
"Volcano: A mountain with hiccups",
"You don't know what I know",
"Too men looking though the same bars; one sees mud, the other one stars",
"Time is nature's way of preventing everything from happening at once",
"Within a computer, natural language in unnatural",
"Those of you who think you know everything are annoying those of us who do!",
"You always have a chance for winning - The others might lose",
"There is no time like the pleasant",
"Use GOTO's only to implement a fundamental structure",
"The plural of spouse is spice",
"Toto, I have a feeling we're not in Kansas any more!",
"The future isn't what it used to be",
"Those who in quarrels interpose must often wipe a bloody nose",
"Sturgeon's Law: Ninety percent of everything is crud",
"The end justifys the means",
"The important thing is not to stop questioning",
"Save yourself!!! - Reboot in 5 seconds",
"QUACK!!!",
"Someone is unenthusiastic about your work",
"Passwords are implemented as a result of insecurity",
"Never insult an alligator until you have crossed the river",
"Like winter snow on summer lawn, time past is time gone",
"It's a poor workman who blames his tools",
"Liar: one who tells an unpleasant truth",
"It's easier to write a bad program than to understand a good one",
"It's easier to write a good program than to understand a bad one",
"It is a poor judge who cannot award a prize",
"If you want a fortune, go to a chinese restaurant",
"Modesty is a vastly overrated virtue",
"Mistakes are oft the stepping stones to failure",
"Many are cold, but few are frozen",
"It is a wise bird who builds his nest in a tree",
"Logic is like a little bird, sitting in a tree, that smells AWFUL",
"Ignorance is when you don't know anything, and someone finds out",
"If at first you don't succeed, try again, then quit - no sense being a fool",
"Hell is empty and all the devils are here",
"Is there a pilot on board?",
"She walks as if balancing the family tree on her nose",
"God does not play dice",
"Every purchase has its price",
"He who speak with forked tongue, not need chopsticks",
"A plucked goose won't lay golden eggs",
"There is no heavier burden than a great potential",
"Satire does not look pretty upon a tombstone",
"Some programming languages manage to absorb change, but withstand progress",
"Paranoia doesn't mean the whole world really isn't out to get you",
"No civilized person ever goes to bed the same day he gets up",
"Marriage: A three ring circus - Engagement ring, Wedding ring, Suffering",
"Make sure your comments and code agree",
"It's better to burn out that to rust out",
"Laugh, and the world ignores you. Crying doesn't help either",
"It's better to burn out than to fade away",
"God is not dead; He's only swapped out",
"General notions are generally wrong",
"Good intentions are far more difficult to deal with than malicious behavior",
"Facts do not cease to exist because they are ignored",
"Don't look now, but the man in the moon is laughing at you",
"Anything worth doing is worth asking someone else to do",
"A truly wise man never plays leapfrog with a Unicorn",
"A bird in the bush can't make a mess in your hand",
"To iterate is human, to recurse, divine",
"Those who can, do. Those who can't, simulate",
"Some men are discovered, others are found out",
"Only those who attempt the absurd achieve the impossible",
"Mind your own business Spock, I'm sick of your half-breed interference",
"Of all forms of caution, caution in love is the most fatal",
"Live a clean happy life, and you will soon die of boredom",
"It's easier to fight for one's principles than to live up to them",
"Every creature has within itself a weird uncontrollable urge to punt",
"Don't force it, use a bigger hammer",
"There is so much to say, but your eyes keep interrupting me",
"He who makes no mistakes usually makes nothing",
"Tact is the art of making a point without making an enemy",
"There are more old drunkards than old doctors",
"Last guys don't finish nice",
"I must have slipped a disk, my pack hurts",
"If it doesn't feel good, don't do it",
"God must love the common man, he made so many of them",
"I am not arguing with you -- Im telling you",
"Today is the first day of the rest of your life",
"Today is the last day of your life so far",
"Now and then an innocent man is sent to the legislature",
"Let not the sands of time get in your lunch",
"Never settle with words what you can accomplish with a flame thrower",
"Many pages make a thick book",
"Its a good thing we don't get all the government we pay for",
"Every silver lining has a cloud inside it",
"Due to lack of interest, today has been canceled",
"Even the smallest candle burnes brighter in the dark",
"If you keep burning the candle at both ends, you will soon run out of wax",
"Don't take life too seriously, you will never get out of it alive",
"LISP: To call a spade a thpade.",
"Life as we know it dosn't exist",
"Haste make waste - So do printers",
"Drawing on my fine command of language, I said nothing",
"Better to light one candle than to curse the darkness",
"Avoid temporary variables",
"A hen is only an egg's way of making another egg",
"Lack of leadership is no substitute for inaction",
"A journey of a thousand miles begins with a cash advance",
"Time for lunch!",
"To laugh at men of sense is the privilege of fools",
"The best prophet of the future is the past",
"That must be wonderful, I don't understand it at all",
"Out of sight is out of mind",
"Nothing dispells enthusiam like a small admission fee",
"Integrity has no need for rules",
"Let a fool hold his tongue and he will pass for a sage",
"Tis better to die on your feet than live on your knees",
"Everything should be made as simple as possible, but not simpler",
"All great ideas are controversial, or have been at one time",
"Blessed are they who run around in circles, for they shall be known as wheels",
"Words must be weighed, not counted",
"What sin has not been committed in the name of efficiency",
"Without adventure, civilization is in full decay",
"If Noah had been truly wise... He'd have swatted those two little flys",
"Avoid the fortran arithmetic IF",
"A fanatic is one who can't change his mind, and won't change the subject",
"Bad command or file name",
"A bird in the hand is worth two in the bush",
"10.0 times 0.1 is hardly ever 1.0",
"Watch out for off-by-one errors",
"Writing free verse is like playing tennis with the net down",
"Time is but the stream I go a-fishing in",
"